<?php

namespace App\Admin\Actions\DdbUser;

use Dcat\Admin\Widgets\Modal;

class ImportAction
{
    protected $title = '<span class="btn btn-primary"><i class="feather icon-plus"></i> 上传人员信息表</span>';
    protected $relation_table;

    public function __construct()
    {}
    public function render()
    {
        // 实例化表单类并传递自定义参数
        $form = ImportForm::make();
        return Modal::make()
            ->lg()
            ->title('上传人员信息表')
            ->body($form)
            ->button($this->title);
    }
}